﻿using System.Collections.Generic;
using TamoCRM.Domain.Branches;
using TamoCRM.Domain.Groups;
using TamoCRM.Domain.UserRole;
using TamoCRM.Web.Mvc.Areas.Admin.Models.Groups;

namespace TamoCRM.Web.Mvc.Areas.Admin.Models.Users
{
    public class UserEditModel
    {
        public UserInfo UserInfo { get; set; }
        public string Fullname { get; set; }
        public string Mobile { get; set; }
        public string Description { get; set; }
        public IEnumerable<RoleInfo> AllRole { get; set; }
        public PostedRole PostedRole { get; set; }
        public IEnumerable<RoleInfo> SelectedRole { get; set; }

        public IEnumerable<BranchInfo>  AllBranch { get; set; }
        public IEnumerable<BranchInfo> SelectedBranch { get; set; }
        public PostedBranch PostedBranch { get; set; }

        public IEnumerable<GroupInfo> AllGroups { get; set; }
        public IEnumerable<GroupInfo> SelectedGroup { get; set; }
        public PostedGroup PostedGroup { get; set; }
    }
}
